<div class="col-sm-4 col-md-4">
    <ul class="right-menu mb-50">
    <?php 
	  foreach($brands as $key=>$brand) : 
		if($key%2==0) $class ='class="odd"';
		else $class ='class="even"';
	  ?>
        <li <?php echo $class?>>
            <!--<a href="/product_brand/view/<?php echo $brand['ProductBrand']['id'];?>">
                <?php echo $brand['ProductBrand']['brand_name'];?>
            </a>-->
            <?php echo $this->Html->link( $brand['ProductBrand']['brand_name'. $code], array(
                'controller' => 'product_brand',
                'action' => 'view',
                'id' => $brand['ProductBrand']['id'],
                'slug' => str_replace(' ', '-', $brand['ProductBrand']['brand_name'. $code])
            ));
            ?>
        </li>
    <?php endforeach;?>
    </ul><!-- /right-menu -->
</div>